Skip to content

aria-controls on multiselect panel#8241

Merged
melloware merged 1 commit intoprimefaces:masterfrom
Aryan3902:multi-select-aria-controls
Jan 4, 2026
Merged

aria-controls on multiselect panel#8241
melloware merged 1 commit intoprimefaces:masterfrom
Aryan3902:multi-select-aria-controls

Conversation

@Aryan3902
Copy link
Copy Markdown
Contributor

@Aryan3902 Aryan3902 commented Aug 21, 2025

Fix #8239

image image

Copy link
Copy Markdown
Contributor

@Coderxrohan Coderxrohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue
MultiSelect did not expose a proper ARIA relationship between the input and the panel, which reduced accessibility and made it harder for assistive technologies to associate the combobox with its listbox.

Fix
Introduces a stable inputId using UniqueComponentId, adds aria-controls on the input, and wires the same ID to the panel list via id, ensuring correct combobox–listbox linkage.

Impact
Improves accessibility and ARIA compliance for MultiSelect, especially for screen readers, without affecting existing behavior or API usage.

@melloware melloware force-pushed the multi-select-aria-controls branch from d0a39db to 5c1e112 Compare January 4, 2026 12:44
@melloware melloware merged commit 62555a3 into primefaces:master Jan 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants